﻿namespace Sidvall.LogManager.UI.Entities.ConfigModel
{
    public sealed partial class EntityFacade : global::Sidvall.LogManager.Data.ConfigModel.EntityFacadeBase
    {
        #region Public Members

        #region ServerConnectionManager

        private global::Sidvall.LogManager.Data.ConfigModel.EntityManagers.ServerConnectionManager<global::Sidvall.LogManager.UI.Entities.ServerConnection, global::Sidvall.LogManager.UI.Entities.ServerConnectionCollection> _ServerConnectionManager;
        public global::Sidvall.LogManager.Data.ConfigModel.EntityManagers.ServerConnectionManager<global::Sidvall.LogManager.UI.Entities.ServerConnection, global::Sidvall.LogManager.UI.Entities.ServerConnectionCollection> ServerConnectionManager
        {
            get
            {
                return _ServerConnectionManager;
            }
            private set
            {
                _ServerConnectionManager = value;
            }
        }

        #endregion
        #region UserConfigurationManager

        private global::Sidvall.LogManager.Data.ConfigModel.EntityManagers.UserConfigurationManager<global::Sidvall.LogManager.UI.Entities.UserConfiguration, global::Sidvall.LogManager.UI.Entities.UserConfigurationCollection> _UserConfigurationManager;
        public global::Sidvall.LogManager.Data.ConfigModel.EntityManagers.UserConfigurationManager<global::Sidvall.LogManager.UI.Entities.UserConfiguration, global::Sidvall.LogManager.UI.Entities.UserConfigurationCollection> UserConfigurationManager
        {
            get
            {
                return _UserConfigurationManager;
            }
            private set
            {
                _UserConfigurationManager = value;
            }
        }

        #endregion
        #region LogContextManager

        private global::Sidvall.LogManager.Data.ConfigModel.EntityManagers.LogContextManager<global::Sidvall.LogManager.UI.Entities.LogContext, global::Sidvall.LogManager.UI.Entities.LogContextCollection> _LogContextManager;
        public global::Sidvall.LogManager.Data.ConfigModel.EntityManagers.LogContextManager<global::Sidvall.LogManager.UI.Entities.LogContext, global::Sidvall.LogManager.UI.Entities.LogContextCollection> LogContextManager
        {
            get
            {
                return _LogContextManager;
            }
            private set
            {
                _LogContextManager = value;
            }
        }

        #endregion
        
        #endregion
        #region Constructors

        [System.Diagnostics.CodeAnalysis.SuppressMessage("Microsoft.Maintainability", "CA1506:AvoidExcessiveClassCoupling")]
        public EntityFacade() 
            : base(global::Sidvall.LogManager.UI.Entities.ConfigModel.ResourceFactory.Current)
        {
            this.ServerConnectionManager = new global::Sidvall.LogManager.Data.ConfigModel.EntityManagers.ServerConnectionManager<global::Sidvall.LogManager.UI.Entities.ServerConnection, global::Sidvall.LogManager.UI.Entities.ServerConnectionCollection>(this);
            this.UserConfigurationManager = new global::Sidvall.LogManager.Data.ConfigModel.EntityManagers.UserConfigurationManager<global::Sidvall.LogManager.UI.Entities.UserConfiguration, global::Sidvall.LogManager.UI.Entities.UserConfigurationCollection>(this);
            this.LogContextManager = new global::Sidvall.LogManager.Data.ConfigModel.EntityManagers.LogContextManager<global::Sidvall.LogManager.UI.Entities.LogContext, global::Sidvall.LogManager.UI.Entities.LogContextCollection>(this);
        }

        #endregion
    }
}